#ifndef CHESSBOTBOARD_BSP_CALIBRATION_H
#define CHESSBOTBOARD_BSP_CALIBRATION_H

#include "config.h"
#include "bsp_motor.h"
#include <Arduino.h>

int read_hall1(void);
int read_hall2(void);

void continuous_read1(long ms);
void continuous_read2(long ms);

void run_circle_read_hall1(uint8_t num_of_turns);
void run_circle_read_hall2(uint8_t num_of_turns);


int calb_arm(int origin_type);

#endif //CHESSBOTBOARD_BSP_CALIBRATION_H
